export default {
  namespace: 'maskModel',
  state: {
    maskModelShow: false,
    maskModelText: '加载中...',
  },
  reducers: {
    openMaskModel(state: any, action: any) {
      return {
        ...state,
        maskModelShow: action.payload.maskModelShow,
        maskModelText: action.payload.maskModelText || '加载中...',
      };
    },
  },
};
